package cn.sdormitory.exam.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;


/**
 * @author : yy
 * @date: 2025/1/13 15:15
 * @description:
 */
@Data
public class AppStudentExamDetailVo {
    @ApiModelProperty(value="考试名称")
    private String examName;
    @ApiModelProperty(value="考试日期")
    @JsonSerialize(using = LocalDateSerializer.class)
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd")
    private LocalDate examDate;

    @ApiModelProperty(value="考试类型(见字典)")
    private String examType;
    @ApiModelProperty(value="优秀分数")
    private Integer excellentScore;
    @ApiModelProperty(value="良好分数")
    private Integer goodScore;
    @ApiModelProperty(value="及格分数")
    private Integer passScore;

    @ApiModelProperty(value="课程名称")
    private String courseName;
    @ApiModelProperty(value="课程类型(见字典)")
    private String courseType;

    @ApiModelProperty(value="是否缺考(0:否 1:是)")
    private Boolean missExam;
    @ApiModelProperty(value="缺考说明")
    private String missExamDesc;
    @ApiModelProperty(value="考试分数")
    private Double score;



}
